
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Businessclosingconfig 分页列表
*/
export function getBusinessclosingconfigPagination(data: any) {
  return axios.get(`${context}/businessclosingconfig/pagination`, { params: data });
}


/**
 * 获取 Businessclosingconfig 所有数据
*/
export function getBusinessclosingconfigAllList(data: any) {
  return axios.get(`${context}/businessclosingconfig/all`, { params: data });
}


/**
 * 获取 Businessclosingconfig 详情
*/
export function getBusinessclosingconfigDetailById(id: any) {
  return axios.get(`${context}/businessclosingconfig/${id}`, { params:{id} });
}


/**
 * 新增 Businessclosingconfig
*/
export function addBusinessclosingconfig(data: any) {
  return axios.post(`${context}/businessclosingconfig`, data);
}

/**
 * 修改 Businessclosingconfig
*/
export function updateBusinessclosingconfig(data: any) {
  return axios.put(`${context}/businessclosingconfig`, data);
}

/**
 * 删除 Businessclosingconfig
*/
export function batchRemoveBusinessclosingconfig(data: any) {
  return axios.post(`${context}/businessclosingconfig/batchRemove`, data);
}

    